
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link href="//netdna.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/css/bootstrap.min.css" rel="stylesheet">
    <script src="https://cdn.jsdelivr.net/npm/jquery@1.12.4/dist/jquery.min.js"></script>
    <!-- 加载 Bootstrap 的所有 JavaScript 插件。你也可以根据需要只加载单个插件。 -->
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/js/bootstrap.min.js"></script>
    <title>Title</title>
    <style>
     *, html ,body{
         background-color: rgb(246,246,246);
      }
        .center_{
            height: 400px;
            width: 264px;
            margin: 100px auto;
           // background-color: olive;
        }
    </style>
</head>
<body>
<div>
    <h3 >文件上传</h3>

    <div class="center_">


    <form action="${pageContext.request.contextPath}/ShangChuanDate/doUpload" method="post" enctype="multipart/form-data"

    >
        <div class="form-group">
            <label for="file">请选择上传文件：</label>
<%--  private int f_id;
    private String f_name;
    private String f_type;
    private String f_path;
    private String f_actor;--%>
            <input type="file" class="" id="file" name="file" placeholder="请输入文章标题...... "

                   style="border: 0px;outline:none;cursor: pointer;background-color: rgb(246,246,246)"
            >

        </div>

        <div class="form-group">
            <label for="f_type">请选择文件上传类型：</label>
            <select name="f_type" id="f_type" style="width: 58px; height: 35px">
                <option value="图片">图片</option>
                <%--<option value="文档">文档</option>--%>

            </select>
        </div>

        <div class="form-group" style="text-align: center">
            <input class="btn btn-success" type="submit" value="提交"/>
            <input class="btn btn-success" type="reset" value="重置"/>
            <a href="${pageContext.request.contextPath}/ShangChuanDate/find?currentPage=1" class="btn btn-success">返回文件下载列表</a>
            <%--<input class="btn btn-default" type="button" value="返回" />--%>
        </div>
    </form>
    </div>
</div>
</body>
</html>
